﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="uc-admin-timkiem.ascx.cs"
    Inherits="Hyunhdai_Saigon_Project.uc.uc_admin_timkiem" %>
<table>
    <tr>
        <td>
            <asp:Label ID="Label1" runat="server" Text="Nhà Sản Xuất:"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="nsx" runat="server" Width="150px" DataSourceID="SqlDataSource1"
                        DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %> "
                        SelectCommand="SELECT [id], [name] FROM [nhasanxuat]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Dòng Xe:"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="dongxe" runat="server" Width="150px" 
                        DataSourceID="SqlDataSource2" DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [dongxe]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label3" runat="server" Text="Đời Xe:"></asp:Label>
        </td>
        <td>
           <asp:DropDownList ID="dx" runat="server" Width="150px" 
                        DataSourceID="SqlDataSource3" DataTextField="nam" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [doixe]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label4" runat="server" Text="Ngoại Thất:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="nt" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label5" runat="server" Text="Số Cửa:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="sc" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label6" runat="server" Text="Số Chỗ Ngồi:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="scn" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label7" runat="server" Text="Hộp Số:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="hs" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label8" runat="server" Text="Nhiên Liệu:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="nl" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label9" runat="server" Text="Hệ Thống Nhiên Liệu:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="htnl" runat="server" Width="150px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Button ID="btnXacnhan" runat="server" Text="Xác nhận" OnClick="XacNhan_Click" />
            <input type="reset" name="Đặt lại" />
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Label ID="xacnhan" runat="server" Text=""></asp:Label>
        </td>
    </tr>
</table>
